const Router = require('@koa/router')
const router = new Router({
  prefix: '/api/v1/role'
})
const roleController = require('../controllers/roleController')

// 角色管理相关路由
router.post('/create', roleController.create)
router.post('/update', roleController.update)
router.get('/delete', roleController.delete)
router.get('/findOne', roleController.findOne)
router.get('/findAll', roleController.findAll)

module.exports = router